<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:86:"D:\phpStudy\PHPTutorial\WWW\zhongchou\public/../application/index\view\team\index.html";i:1527128002;s:83:"D:\phpStudy\PHPTutorial\WWW\zhongchou\application\index\view\layout\layoutname.html";i:1527772962;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	
	<title>团队中心-蚁巢众筹</title>
	<link rel="stylesheet" href="/static/css/Octen_center.css" />

	<link rel="stylesheet" href="/static/css/public.css" />
		<style type="text/css">
		
   			.forget{
				width: 400px;
				height: 400px;
				background: #fff;
				position: fixed;
				top: 20%;
				left: 40%;
				z-index: 999;
				display: none;
				
			}
			.forget h5{
				display: inline-block;
				margin: 0 0 0 40%;
				font-size: 18px;
				font-weight: 100;
			}
			.forget>img{
				margin: 5% 0 0 26%;
			}
			.forget form{
				width: 80%;
				margin: 0 0  0 20%;
				
			}
			.forget label input{
				height: 30px;
				margin: 20px 0 0 0;
			}
			.forget form button{
				width: 60%;
				height: 30px;
				background: #00BDFF;
				border: none ;
				border-radius: 20px;
				color: #FFFFFF;
				margin: 10% 0 0 10%;
			}

	</style>
</head>
<body>
	<div>
		<div class="head">
			<div class="head_top_bg">
				<div class="head_bg_center center">
					<select name="" id="choose_lang">
						<option value="简体中文">简体中文</option>
						<option value="英文">英文</option>
					</select>
				</div>
			</div>
			<div class="head_logo">
				<div class="head_logo_center center">
					<img src="/static/img/logo.png" alt="蚁巢众筹"  class="logo_left"/>
					<span class="word_left">蚁巢众筹</span>
					<div class="iPhone">
						<img src="/static/img/iPhone.png" alt="iPhone" />
						<a href="#" class="app_red_letter_btn">手机APP下载</a><br />
						<span>指尖交易 随时随地</span>
					</div>
				</div>
			</div>
		</div>
		<nav>
			<div class="nav_center center">
				<ul class="homePage_nav">
					<li  class="nav_active"><a href="/">首页</a></li>
					<li><a href="/index/Trade/index">交易行情</a></li>
					<li><a href="/index/Item/index">矿机众筹</a></li>
					<li><a href="/index/Team/index">团队中心</a></li>
					<li><a href="/index/Earning/index">财务报表</a></li>
					<li><a href="/index/Personal/index">个人中心</a></li>
				</ul>
			</div>
		</nav>
		
	<div class="scroll" id='earnings_scroll'>
		<div class="scroll_picture" id='earnings_bg'>
		<?php if($user): ?>
			<div class="sign_out sign">
				<p>账户信息</p>
				<p>
					<span>账户:</span>
					<span><?php echo !empty($user['username'])?$user['username'] : $user['mobile']; ?></span>
					<a href="javascript:;" onclick="history.go(0)">刷新</a>
				</p>
				<p>
					<span>总资金:</span>
					<span><?php echo $user['total_funds']; ?></span>
				</p>
				<p>
					<span>可用资金:</span>
					<span><?php echo $user['available_funds']; ?></span>
				</p>
				<p>
					<span>佣金:</span>
					<span><?php echo $user['commission']; ?></span>
				</p>
				<button onclick='signout(this,"<?php echo url('/index/index/signout'); ?>")'>安全退出</button>
			</div>
		<?php else: ?>
			<div class="sign_in sign">
				<input type="text" name="" class="phone_num input" style="background-color: white;" placeholder="请输入手机号码"/>
				<input type="password" name="password" class="password input" style="background-color: white;" placeholder="请输入密码"/>
				<div class="link">
					<a href="#" class="register">立即注册</a>
				    <a href="#" class="forget_pass">忘记密码?</a>
				</div>
				<input type="button" onclick='signin(this,"<?php echo url('/index/index/login'); ?>")' value="登录" class="sign_in_block"/>
			</div>
		<?php endif; ?>
		</div>
		<div class="notice">
			<div class="official_notice">官网公告</div>
			<span class="notice_title"><?php echo $notice[0]['n_title']; ?></span>
		</div>
	</div>
	<div class="business" id='earnings_business'>
		<div class="main_center center">
			<div class="f_forms">
				<p>我的团队</p>
			</div>
		    <div>  <!--防止siblings出错-->
				<div class="f_record show_hide">
					<p>加入我们</p>
					<table border="1" cellspacing="0" cellpadding="0">
						<p>推荐我的人：</p>
		               	<tr>
		               		<th>手机号</th>
		               		<th>姓名</th>
		               		<th>个人状态</th>
		               		<th>会员等级</th>
		               		<th>消息提醒</th>
		               	</tr>
		               		<?php if($puser): ?>
		               	<tr>
		               		<td><?php echo $puser['mobile']; ?></td>
		               		<td><?php echo $puser['username']; ?></td>
		               		<td><?php echo !empty($puser['perfect'])?'信息完善':'信息不完善'; ?></td>
		               		<td>
		               		<?php echo !empty($puser['group_id'])?$group[$puser['group_id']]:''; ?></td>
		               		<td>发送消息</td>
		               	</tr>
		               		<?php else: ?>
		               			<tr style="background: #f7f6f2">
		               				<td colspan="5">没有数据</td>
		               			</tr>
		               		<?php endif; ?>

		          	</table>
					<table border="1" cellspacing="0" cellpadding="0">
						<p>我推荐的人：</p>
		               	<tr>
		               		<th>手机号码</th>
		               		<th>姓名</th>
		               		<th>个人状态</th>
		               		<th>级别</th>
		               		<!-- <th>好友转账</th> -->
		               		<th>消息提醒</th>
		               	</tr>
		               	<?php if($puser): foreach($junior as $v): ?>
		               	<tr>
		               		<td><?php echo $v['mobile']; ?></td>
		               		<td><?php echo $v['username']; ?></td>
		               		<td><?php echo !empty($v['perfect'])?'信息完善':'信息不完善'; ?></td>
		               		<td><?php echo $group[$v['group_id']]; ?></td>
		               		<!-- <td id="zz">点击转账</td> -->
		               		<td>发送消息</td>
		               	</tr>
		               	<?php endforeach; ?>
		               		<tr style="background: #f7f6f2">
	               				<td colspan="5">没有数据</td>
	               			</tr>
		               	<?php else: endif; ?>
		          	</table>
		          	<div class="bk" >
		          	  	<p>转账 </p>
	          	  		<img src="/static/img/cancel.png" style="float: left;margin: -29px 0 0 210px;cursor: pointer;" id="bk_gb"/>
		          	  	<span>姓名  : <input type="text" value="聚格"  style="border: none;"/></span>
		          	  	<span>帐号   : <input type="text" value="10086" style="border: none;" /></span>
		          	    <input type="number" placeholder="请输入转账数量" />
		          	    <input type="password" placeholder="请输入密码" />
		          	    <button>确认</button>
		          	</div>
			        <div class="bk">
	          	     	<textarea name="" rows="8" cols="6" placeholder="请输入500字以内" style="width: 70%;margin: 10% 15%;"></textarea> 
	          	     	<button style="background: #2bb5f4;">发送</button>
			        </div>
				</div>
            </div>    
		</div>
		<ul class="click" id='earnings_click'>
			<li class="btn_service"><img src="/static/img/service.png" alt="客服" /><br />客服</li>
			<li class="app_red_letter_btn"><img src="/static/img/new_hand.png" alt="新手" /><br />新手</li>
			<li class="app_red_letter_btn"><img src="/static/img/letter、.png" alt="信" /><br />信</li>
		</ul>
	</div>

		<footer>
			<div class="footer_center center">
				<ul>
					<li>友情链接：</li>
					<li>小米之家</li>
					<li>小米之家</li>
					<li>小米之家</li>
					<li>小米之家</li>
				</ul><br />
				<p>地址：郑州市安静安静安静安静28号 电话：100868600 服务邮箱：searvice@content.com</p><br />
				<p>Copyright ©2011-2018 有限公司 版权所有 | 粤ICP备05100288号</p>
			</div>
		</footer>
	</div>
	<div class="open_box">
			<div class="QR_innerBox app_packet_letter">
				<img src="/static/img/QR.png" alt="" /><br />
				<span>使用二维码下载</span>
			</div>
			<div class="app_packet_letter red_envelop">
				<img src="/static/img/envelopes.png" alt="红包" />
			</div>
			<div class="inner_letter app_packet_letter">
				<img src="/static/img/cancel1.png" alt="" class="cancel"/>
				<h3>站内信</h3>
				<div class="letter_word">站内信站内信站内信站内信站内信站内信</div>
			</div>
		
	<div class="big">
		<div class="rgerster">
			<h3>注册新用户</h3>
			<div class="gb">
				<img src="/static/img/cancel.png"/>
			</div>
			<div>
				<p><span>*</span>手机号</p>
				<input type="text" name="mobile" placeholder="请输入您的手机号"/>	
			</div>
			<div>
				<div onclick="verifyimg('<?php echo captcha_src(); ?>')"><img src="<?php echo captcha_src(); ?>" class="verifyimg" alt="captcha" style="display: inline-block;float: right;" /></div>
				<input type="text" name="verify" style="width: 30%;margin: 0 0 0 -20px" placeholder="请输入验证码"/>		
			</div>
			<div>
				<span style="color: red;">*</span>
				<input type="text" style="width: 49%;" name = "code" placeholder="请输入短信" />
				<input type="button" value="发送验证码" style="width: 30%;margin: 10px 0 0 5% 
					background: #FFFFFF;text-indent:5px;" onclick='code(this,"<?php echo url('/index/index/code'); ?>","<?php echo captcha_src(); ?>")' />				
			</div>
			<div>
				<p><span>*</span>登录密码</p>
				<input type="password" name="password" placeholder="首字母为大写的8-18位字符" />	
			</div>
			<div>
				<p><span>*</span>重复密码</p>
				<input type="password" name="rpwd" placeholder="请再次输入密码"/>
			</div>
			<div>
				<p><span>*</span>推荐人</p>
				<input type="text" name = 'pmobile' placeholder="推荐人手机号"/>	
			</div>
			<div >
				<p>微信/QQ</p>
				<input type="text" name="QQaccount"  placeholder="请输入您的微信号或QQ号"/>				
			</div>
			<div class="dxk" style="margin: -20px 0 0 0;">
				<input type="checkbox" name="read" value="Y" style="width: 12px;"  style="display: inline-block;margin:  0 0 0 20px;"/>
				<p class="wf">我已阅读并同意（服务协议）</p>
			</div>
			<div>
				<button onclick='signup(this,"<?php echo url('/index/index/signup'); ?>")'>确认</button>				
			</div>
		</div>
	</div>

	</div>
	<div class="forget">
   	   <h5>忘记密码</h5>
   	   <img src="/static/img/cancel.png"/>
   	   <form action="" method="post">
   	   	    <label for="">手机号 ： <input type="text" name="mobile" placeholder="请输入手机号" /></label>
   	   	    <label for=""> <input type="text" name="code" placeholder="请输入验证码" / >
   	   	    <input type="button" value="获取验证码"  style="width: 30%;"/ onclick='codes(this,"<?php echo url('/index/index/focode'); ?>")' ></label>
   	   	    <label for="" style="display: block;">设置密码 ： <input type="password" name="pwd" placeholder="请输入密码" /></label>
   	   	    <label for="">确认密码 ： <input type="password" name="rpwd" placeholder="请再次输入密码" /></label>
   	   	      <button onclick=' return forget(this,"<?php echo url('/index/index/forget'); ?>")'>确定</button>
   	   	</form>
   	</div>
    <div class="service">
		<div class="inner_letter">
			<h3>客服</h3>
			<div class="editable" contenteditable="true"></div>
			<button class="click_send">发送</button>
			<button class="click_delit">取消</button>
		</div>
	</div>


		<script src="/static/js/jquery1.10.2.js"></script>
    	<script type="text/javascript" src="/static/admin/lib/layer/2.4/layer.js"></script>
		<script src="/static/js/public.js"></script>
		<script>
			$(function(){
				var forget =$('.forget')
				var img = $('.forget>img');

				var wj = $('.link .forget_pass');
				wj.click(function(){
					forget.css('display','block')
				})
				img.click(function(){
					$(this).parent().css('display','none');
				})
			})
			
			// var time = 60;
			// function settime(sj){
			// 	if(time == 0){
			// 		sj.removeAttribute('disabled');
			// 		sj.value = '验证码';
			// 		time =60;
			// 		return;
			// 	}else{
			// 		sj.setAttribute('disabled',true);
			// 		sj.value = "（"+ time + "）";
			// 		time --;
			// 	}
			// 	setTimeout(function(){
			// 		settime(sj);
			// 	},1000)
			// }
			
			
		</script>
	
	<script src="/static/js/Octen_center.js"></script>

</body>
</html>